        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="nav-close"><i class="fa fa-times-circle"></i>
            </div>
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">
                        <div class="dropdown profile-element">
                            <span>
                                {{if request.user.image:}}
                                    <img alt="头像丢失" class="img-circle" src="{{=request.user.image_small}}" />
                                {{else:}}
                                    <img alt="头像丢失" class="img-circle" src="{{=url_for_static('img/profile_small.jpg')}}" />
                                {{pass}}
                            </span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold">{{=request.user.nickname}}</strong></span>
                               {{if request.user.is_superuser:}}
                                <span class="text-muted text-xs block">超级管理员<b class="caret"></b></span>
                                {{else:}}
                                <span class="text-muted text-xs block">普通用户<b class="caret"></b></span>
                                {{pass}}
                                </span>
                            </a>
                            <ul class="dropdown-menu animated fadeInRight m-t-xs">
                                <li><a class="J_menuItem" href="/myuser/userprofile">个人资料</a>
                                </li>
                                <li><a class="J_menuItem" href="mailbox.html">信箱</a>
                                </li>
                                <li class="divider"></li>
                                <li><a href="/logout">安全退出</a>
                                </li>
                            </ul>
                        </div>
                    </li>

                    <!--动态菜单-->
                    {{include "inc_menu1.html"}}
                    <!--写死菜单-->
                    {{#include "inc_menu.html"}}

                </ul>
            </div>
        </nav>